Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.audio.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.audio.layouts inside nuxeo-platform-audio-jsf-9.10.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="summary_audio_player" type="audio_player">
          <fields>
            <field>#{value}</field>
            <field>file:content</field>
          </fields>
        </widget>
  • <widget name="audioFile" type="audio_file">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:filename</field>
          </fields>
        </widget>
  • <widget name="infoViewAudioPlayer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewAudioContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="audioPlayer" type="audio_player">
              <fields>
                <field>#{value}</field>
                <field>file:content</field>
              </fields>
            </widget>
          </subWidgets>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="summary_audio_player" type="audio_player">
      <fields>
        <field>#{value}</field>
        <field>file:content</field>
      </fields>
    </widget>

    <widget name="audioFile" type="audio_file">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:filename</field>
      </fields>
    </widget>

    <widget name="infoViewAudioPlayer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewAudioContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="audioPlayer" type="audio_player">
          <fields>
            <field>#{value}</field>
            <field>file:content</field>
          </fields>
        </widget>
      </subWidgets>
    </widget>

  </extension>